/*
 *  Player.h
 *  MyFirstShooterGame
 *
 *  Created by William on 7/27/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef PLAYER_H_
#define PLAYER_H_

struct SDL_Surface;

class Player {
public:
	Player();
	~Player();
	
	void updatePosition(int x, int y);
//	void setPosition(int x, int y);
	void draw(SDL_Surface *screen);
	void moveLeft(bool val);
	void moveRight(bool val);
	void moveUp(bool val);
	void moveDown(bool val);
	void tick();
private:
	float x;
	float y;
	float speed;
	
	SDL_Surface *ship;
	
	bool initialized;
	
	bool movingLeft;
	bool movingRight;
	bool movingUp;
	bool movingDown;
};
#endif
